//
//  UIView+Extension.h
//  SuperEPIP
//
//  Created by liu on 16/3/22.
//  Copyright © 2016年 smart4c. All rights reserved.
//

#import <UIKit/UIKit.h>

#define Extrabold(fontSize) [UIFont fontWithName:@"ProximaNova-Extrabold" size:fontSize]
#define Regular(fontSize)   [UIFont fontWithName:@"ProximaNova-Regular" size:fontSize]
#define Semibold(fontSize)  [UIFont fontWithName:@"ProximaNova-Semibold" size:fontSize]
#define Bold(fontSize)      [UIFont fontWithName:@"ProximaNova-Bold" size:fontSize]

@interface UIView(Extension)//这里一定要这样写代表扩展UIView，当然你也可以去扩展别的东西
//x坐标属性
@property (nonatomic,assign)CGFloat x;
//y坐标
@property (nonatomic,assign)CGFloat y;
//宽度
@property (nonatomic,assign)CGFloat width;
//高度
@property (nonatomic,assign)CGFloat height;
//大小
@property (nonatomic,assign)CGSize size;
//位置
@property (nonatomic,assign)CGPoint origin;
//中心点x
@property (nonatomic,assign)CGFloat centerX;
//中心点y
@property (nonatomic,assign)CGFloat centerY;

@end
